package com.example.demo.model;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 马拉圈
 * Date: 2023-08-07
 * Time: 2:36
 */
@ConfigurationProperties("db-type")
@Component
public class ListData {
    private List<Integer> list;

    @Override
    public String toString() {
        return "ListData{" +
                "list=" + list +
                '}';
    }

    public List<Integer> getList() {
        return list;
    }

    public void setList(List<Integer> list) {
        this.list = list;
    }
}
